package com.yunxi.quartz.service;

import com.github.pagehelper.PageInfo;
import com.yunxi.quartz.pojo.JobAndTriggerRespVO;

public interface JobAndTriggerDubboService {

    PageInfo<JobAndTriggerRespVO>  getJobAndTriggerDetails(int pageNum,int pageSize);

    void addJob(String jobClassName,String jobGroupName,String cronExpression) throws Exception;

    void jobPause(String jobClassName, String jobGroupName) throws Exception;

    void jobresume(String jobClassName, String jobGroupName) throws Exception;

    void jobdelete(String jobClassName,String jobGroupName) throws Exception;

    void jobreschedule(String jobClassName,String jobGroupName,String cronExpression) throws Exception;
}
